//
//  FQDPieChart.h
//  FakeQDaily
//
//  Created by mewxiv on 9/18/16.
//  Copyright © 2016 Xensius. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface FQDPieChartSlice : NSObject

@property (nonatomic, assign) CGFloat percent;
@property (nonatomic, strong) UIColor *color;

+ (instancetype)sliceWithPercent:(CGFloat)percent color:(UIColor *)color;

@end

@interface FQDPieChart : UIView

// 饼图默认填充颜色
@property (nonatomic, strong) UIColor *fillColor;
// 分块
@property (nonatomic, strong) NSArray<FQDPieChartSlice *> *slices;

@end
